<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
    <meta name="description" content="">
    <meta name="author" content="ThemeBucket">
    <link rel="shortcut icon" href="#" th:type="@{/image/png}" type="image/png">

    <title>Dynamic Table</title>

    <!--dynamic table-->
    <link th:href="@{/js/advanced-datatable/css/demo_page.css}" href="js/advanced-datatable/css/demo_page.css" rel="stylesheet" />
    <link th:href="@{/js/advanced-datatable/css/demo_table.css}" href="js/advanced-datatable/css/demo_table.css" rel="stylesheet" />
    <link th:href="@{/js/data-tables/DT_bootstrap.css}" rel="stylesheet" href="js/data-tables/DT_bootstrap.css" />

    <link th:href="@{/css/style.css}" href="css/style.css" rel="stylesheet">
    <link th:href="@{/css/style-responsive.css}" href="css/style-responsive.css" rel="stylesheet">

    <!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!--[if lt IE 9]>
    <script src="js/html5shiv.js"></script>
    <script src="js/respond.min.js"></script>
    <![endif]-->
</head>

<body class="sticky-header">

<section>
    <!-- left side start-->
    <div class="left-side sticky-left-side">

        <!--logo and iconic logo start-->
        <div class="logo">
            <a href="index.html"><img th:src="@{/images/logo.png}" src="images/logo.png" alt=""></a>
        </div>

        <div class="logo-icon text-center">
            <a href="index.html"><img th:src="@{/images/logo_icon.png}" src="images/logo_icon.png" alt=""></a>
        </div>
        <!--logo and iconic logo end-->


        <div class="left-side-inner">

            <!-- visible to small devices only -->
            <div class="visible-xs hidden-sm hidden-md hidden-lg">
                <div class="media logged-user">
                    <img alt="" th:src="@{/images/photos/user-avatar.png}" src="images/photos/user-avatar.png" class="media-object">
                    <div class="media-body">
                        <h4><a href="#">John Doe</a></h4>
                        <span>"Hello There..."</span>
                    </div>
                </div>

                <h5 class="left-nav-title">Account Information</h5>
                <ul class="nav nav-pills nav-stacked custom-nav">
                    <li><a href="#"><i class="fa fa-user"></i> <span>Profile</span></a></li>
                    <li><a href="#"><i class="fa fa-cog"></i> <span>Settings</span></a></li>
                    <li><a href="#"><i class="fa fa-sign-out"></i> <span>Sign Out</span></a></li>
                </ul>
            </div>

            <!--sidebar nav start-->
            <ul class="nav nav-pills nav-stacked custom-nav">
                <li class="active"><a th:href="@{/templates/userManager.html}" href="index.html"><i class="fa fa-home"></i> <span>用户管理</span></a></li>
                <li><a href="fontawesome.html"><i class="fa fa-bullhorn"></i> <span>订单管理</span></a></li>
                <li><a th:href="@{/user/logout.html}" href="login.html"><i class="fa fa-sign-in"></i> <span>退出登录</span></a></li>

            </ul>
            <!--sidebar nav end-->

        </div>
    </div>
    <!-- left side end-->

    <!-- main content start-->
    <div class="main-content" >

        <!-- header section start-->
        <div class="header-section">

            <!--toggle button start-->
            <a class="toggle-btn"><i class="fa fa-bars"></i></a>
            <!--toggle button end-->


            <!--notification menu start -->
            <div class="menu-right">
                <ul class="notification-menu">
                    <li>
                        <a href="#" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                            <img th:src="@{/images/photos/user-avatar.png}" src="images/photos/user-avatar.png" alt="" />
                            [[${session.user?.loginName}]]
                            <span class="caret"></span>
                        </a>
                        <ul class="dropdown-menu dropdown-menu-usermenu pull-right">
                            <li><a href="#"><i class="fa fa-user"></i>  Profile</a></li>
                            <li><a href="#"><i class="fa fa-cog"></i>  Settings</a></li>
                            <li><a th:href="@{/user/logout.html}" href="#"><i class="fa fa-sign-out"></i> Log Out</a></li>
                        </ul>
                    </li>

                </ul>
            </div>
            <!--notification menu end -->

        </div>
        <!-- header section end-->

        <!-- page heading start-->
        <div class="page-heading" style="margin-top: 10px">
            <h3>
                新增用户
            </h3>
            <ul class="breadcrumb">
                <li>
                    <a th:href="@{/userManager.html}" href="#">用户管理</a>
                </li>
                <li class="active"> 新增用户 </li>
            </ul>
        </div>
        <!-- page heading end-->

        <!--body wrapper start-->
        <div class="wrapper">
            <div class="row">
                <div class="col-lg-12">
                    <section class="panel">
                        <header class="panel-heading">
                            用户信息
                        </header>
                        <div class="panel-body" >
                            <div style="margin:auto 0">
                                <form role="form" action="/user/user" method="post" enctype="multipart/form-data">
                                    <div class="form-group">
                                        <label for="exampleInputEmail1">用户名</label>
                                        <input name="loginName" style="width: 150px" type="text" class="form-control" id="exampleInputEmail1" placeholder="姓名">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputPassword1">密码</label>
                                        <input name="userPassword" style="width: 150px" type="text" class="form-control" id="exampleInputPassword1" placeholder="密码">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputPhone1">电话</label>
                                        <input name="phone" style="width: 150px" type="text" class="form-control" id="exampleInputPhone1" placeholder="电话">
                                    </div>
                                    <div class="form-group">
                                        <label for="exampleInputFile">头像</label>
                                        <input name="file" type="file" id="exampleInputFile">
                                    </div>
                                    <a th:href="@{/userManager.html}" type="button" class="btn btn-primary">返回</a>
                                    <button type="submit" class="btn btn-primary">保存</button>
                                </form>
                            </div>


                        </div>
                    </section>
                </div>
            </div>

            <!--body wrapper end-->

            <!--footer section start-->
            <footer>
                2020 &copy; AdminEx by ThemeBucket </a>
            </footer>
            <!--footer section end-->


        </div>
        <!-- main content end-->
    </div>
</section>

<!-- Placed js at the end of the document so the pages load faster -->
<script th:src="@{/js/jquery-1.10.2.min.js}" src="js/jquery-1.10.2.min.js"></script>
<script th:src="@{/js/jquery-ui-1.9.2.custom.min.js}" src="js/jquery-ui-1.9.2.custom.min.js"></script>
<script th:src="@{/js/jquery-migrate-1.2.1.min.js}" src="js/jquery-migrate-1.2.1.min.js"></script>
<script th:src="@{/js/bootstrap.min.js}" src="js/bootstrap.min.js"></script>
<script th:src="@{/js/modernizr.min.js}" src="js/modernizr.min.js"></script>
<script th:src="@{/js/jquery.nicescroll.js}" src="js/jquery.nicescroll.js"></script>

<!--dynamic table-->
<script th:src="@{/js/advanced-datatable/js/jquery.dataTables.js}" type="text/javascript" language="javascript" src="js/advanced-datatable/js/jquery.dataTables.js"></script>
<script th:src="@{/js/data-tables/DT_bootstrap.js}" type="text/javascript" src="js/data-tables/DT_bootstrap.js"></script>
<!--dynamic table initialization -->
<script th:src="@{/js/dynamic_table_init.js}" src="js/dynamic_table_init.js"></script>

<!--common scripts for all pages-->
<script th:src="@{/js/scripts.js}" src="js/scripts.js"></script>






</body>
</html>
